package cn.test.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author hanchao
 * @date 2017/9/27 18:07
 */
@RestController
@RequestMapping("/t")
public class TstController extends SimpleController{
    @RequestMapping("/c/v/d")
    public String test1(){
        return "1";
    }

    @RequestMapping(value="/c/v/d",params = "b")
    public String test2(){
        return "2";
    }
}
